/****************************************************************************

Force Engine v0.5

Creado: 23/03/09
Clase: Plane.h
Hecho by: German Battiston AKA Melkor

****************************************************************************/

//---------------------------------------------------------------------------
#ifndef PLANE_H
#define PLANE_H
//---------------------------------------------------------------------------
#define BEHIND		-1
#define INFRONT		 1
#define COINCIDING	 0
//---------------------------------------------------------------------------
#include <d3dx9.h>
#include "../Defines/Defines.h"
//---------------------------------------------------------------------------
class FORCEENGINE_API Plane
{
public:

	Plane();
	Plane(D3DXVECTOR3 vNormal, D3DXVECTOR3 vPoint);
	~Plane();

	void SetPoint(D3DXVECTOR3 vPoint);
	void SetNormal(D3DXVECTOR3 vNormal);

	D3DXVECTOR3 GetPoint();
	D3DXVECTOR3 GetNormal();

private:

	D3DXVECTOR3 m_vPoint;
	D3DXVECTOR3 m_vNormal;
};

//---------------------------------------------------------------------------

#endif /*--- PLANE_H ---*/

//---------------------------------------------------------------------------